Skip to main content

Message<T>

Basic implementation of IMessage[T]

Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public class Message<T> : Message, IMessage<T>, IMessage, IHasId<Guid>, IMeta

Inherited Properties

Body

View Source
Declaration
public object Body { get; set; }

CreatedDate

View Source
Declaration
public DateTime CreatedDate { get; set; }

Error

View Source
Declaration
public ResponseStatus Error { get; set; }

Id

View Source
Declaration
public Guid Id { get; set; }

Meta

View Source
Declaration
public Dictionary<string, string> Meta { get; set; }

Options

View Source
Declaration
public int Options { get; set; }

Priority

View Source
Declaration
public long Priority { get; set; }

ReplyId

View Source
Declaration
public Guid? ReplyId { get; set; }

ReplyTo

View Source
Declaration
public string ReplyTo { get; set; }

RetryAttempts

View Source
Declaration
public int RetryAttempts { get; set; }

Tag

View Source
Declaration
public string Tag { get; set; }

TraceId

View Source
Declaration
public string TraceId { get; set; }

Methods

Create(Object)

View Source
Declaration
public static IMessage Create(object oBody)
Returns

ServiceStack.Messaging.IMessage

Parameters
TypeName
System.ObjectoBody

GetBody()

View Source
Declaration
public T GetBody()
Returns

<T>

ToString()

View Source
Declaration
public override string ToString()
Returns

System.String

Inherited Methods

Create<T>(T)

View Source
Declaration
public static Message<T> Create<T>(T request)
Returns

ServiceStack.Messaging.Message<T>

Parameters
TypeName
<T>request
Type Parameters
  • T

Implements